package InvocationHandler;

public class LogPerson implements Person{
    private Person man = null;
    public void setMain(Person person){
        man = person;
    }
    @Override
    public void sayHello() {
        System.out.println("invoke LogPerson");
        man.sayHello();
    }
}
